<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="dictGroupList" checkbox="false" fitColumns="true" title="我的补课申请" actionUrl="MakupLessonController.do?myApplyDatagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="10"></t:dgCol>
   <t:dgCol title="学期"   field="schedule.semester"  queryMode="single"  width="70"></t:dgCol>
   <t:dgCol title="周次"  field="schedule.weekNumber"  queryMode="single"  width="40"></t:dgCol> 
   <t:dgCol title="班级"  field="schedule.className"  queryMode="single"  width="100"></t:dgCol>
   <t:dgCol title="上课节次"  field="schedule.courseOrderName"  queryMode="single"  width="100"></t:dgCol>
   <t:dgCol title="实验课程"  field="schedule.lessonInfo.lessonName"   queryMode="single" query="true"  width="120"></t:dgCol>
   <t:dgCol title="实验项目"  field="schedule.teachItem.itemName"   queryMode="single"  query="true" width="120"></t:dgCol>
   <t:dgCol title="任课教师"  field="schedule.teacher.realName"   queryMode="single"  width="80"></t:dgCol>
   <t:dgCol title="实验室"  field="schedule.lab.name"   queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="房间"  field="schedule.lab.roomNo"   queryMode="single"  width="60"></t:dgCol>
   <t:dgCol title="审核状态"  field="applyState.name"  formatterjs="getState" queryMode="single"  width="80"></t:dgCol>
   <t:dgCol title="审核意见"  field="auditContent"   queryMode="single"  width="80"></t:dgCol>   
   
   </t:datagrid>
  </div>
 </div>
 <script type="text/javascript">
 $(document).ready(function(){
	 
 }); 
 
 function getState(v){
	 if(v == '初审通过'){
		 return '审核通过'
	 }
	 if(v =='初审不通过'){
		 return '审核不通过';
	 }
	 
	 return v;
 }
 
 
 </script>